﻿using System.Xml.Serialization;

namespace Vkontakte.Api
{
	public enum ApiError
	{
		[XmlEnum("0")]
		None=0,
		[XmlEnum("1")]
		UnknownError=1,
		[XmlEnum("2")]
		ApplicationDisabled=2,
		[XmlEnum("3")]
		UnknownMethod=3,
		[XmlEnum("4")]
		IncorrectSignature=4,
		[XmlEnum("5")]
		UserAuthorizationFailed=5,
		[XmlEnum("6")]
		TooManyRequestsPerSecond=6,
		[XmlEnum("7")]
		PermissionDeniedByUser=7,
		[XmlEnum("9")]
		Flood =9,
		[XmlEnum("100")]
		ParameterMissingOrInvalid=100,
		[XmlEnum("113")]
		InvalidUserID=113,
		[XmlEnum("114")]
		InvalidAlbumID=114,
		[XmlEnum("200")]
		AccessDenied=200,
		[XmlEnum("-1")]
		NotReady=-1
	}
}